package com.indexingsystem.boss.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class IdxExportThemeWordsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public IdxExportThemeWordsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdIsNull() {
            addCriterion("theme_group_id is null");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdIsNotNull() {
            addCriterion("theme_group_id is not null");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdEqualTo(Integer value) {
            addCriterion("theme_group_id =", value, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdNotEqualTo(Integer value) {
            addCriterion("theme_group_id <>", value, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdGreaterThan(Integer value) {
            addCriterion("theme_group_id >", value, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("theme_group_id >=", value, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdLessThan(Integer value) {
            addCriterion("theme_group_id <", value, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdLessThanOrEqualTo(Integer value) {
            addCriterion("theme_group_id <=", value, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdIn(List<Integer> values) {
            addCriterion("theme_group_id in", values, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdNotIn(List<Integer> values) {
            addCriterion("theme_group_id not in", values, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdBetween(Integer value1, Integer value2) {
            addCriterion("theme_group_id between", value1, value2, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeGroupIdNotBetween(Integer value1, Integer value2) {
            addCriterion("theme_group_id not between", value1, value2, "themeGroupId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdIsNull() {
            addCriterion("theme_table_id is null");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdIsNotNull() {
            addCriterion("theme_table_id is not null");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdEqualTo(Integer value) {
            addCriterion("theme_table_id =", value, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdNotEqualTo(Integer value) {
            addCriterion("theme_table_id <>", value, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdGreaterThan(Integer value) {
            addCriterion("theme_table_id >", value, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("theme_table_id >=", value, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdLessThan(Integer value) {
            addCriterion("theme_table_id <", value, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdLessThanOrEqualTo(Integer value) {
            addCriterion("theme_table_id <=", value, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdIn(List<Integer> values) {
            addCriterion("theme_table_id in", values, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdNotIn(List<Integer> values) {
            addCriterion("theme_table_id not in", values, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdBetween(Integer value1, Integer value2) {
            addCriterion("theme_table_id between", value1, value2, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableIdNotBetween(Integer value1, Integer value2) {
            addCriterion("theme_table_id not between", value1, value2, "themeTableId");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameIsNull() {
            addCriterion("theme_table_name is null");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameIsNotNull() {
            addCriterion("theme_table_name is not null");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameEqualTo(String value) {
            addCriterion("theme_table_name =", value, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameNotEqualTo(String value) {
            addCriterion("theme_table_name <>", value, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameGreaterThan(String value) {
            addCriterion("theme_table_name >", value, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameGreaterThanOrEqualTo(String value) {
            addCriterion("theme_table_name >=", value, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameLessThan(String value) {
            addCriterion("theme_table_name <", value, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameLessThanOrEqualTo(String value) {
            addCriterion("theme_table_name <=", value, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameLike(String value) {
            addCriterion("theme_table_name like", value, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameNotLike(String value) {
            addCriterion("theme_table_name not like", value, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameIn(List<String> values) {
            addCriterion("theme_table_name in", values, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameNotIn(List<String> values) {
            addCriterion("theme_table_name not in", values, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameBetween(String value1, String value2) {
            addCriterion("theme_table_name between", value1, value2, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeTableNameNotBetween(String value1, String value2) {
            addCriterion("theme_table_name not between", value1, value2, "themeTableName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdIsNull() {
            addCriterion("theme_words_id is null");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdIsNotNull() {
            addCriterion("theme_words_id is not null");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdEqualTo(Integer value) {
            addCriterion("theme_words_id =", value, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdNotEqualTo(Integer value) {
            addCriterion("theme_words_id <>", value, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdGreaterThan(Integer value) {
            addCriterion("theme_words_id >", value, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("theme_words_id >=", value, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdLessThan(Integer value) {
            addCriterion("theme_words_id <", value, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdLessThanOrEqualTo(Integer value) {
            addCriterion("theme_words_id <=", value, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdIn(List<Integer> values) {
            addCriterion("theme_words_id in", values, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdNotIn(List<Integer> values) {
            addCriterion("theme_words_id not in", values, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdBetween(Integer value1, Integer value2) {
            addCriterion("theme_words_id between", value1, value2, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("theme_words_id not between", value1, value2, "themeWordsId");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameIsNull() {
            addCriterion("theme_words_name is null");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameIsNotNull() {
            addCriterion("theme_words_name is not null");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameEqualTo(String value) {
            addCriterion("theme_words_name =", value, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameNotEqualTo(String value) {
            addCriterion("theme_words_name <>", value, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameGreaterThan(String value) {
            addCriterion("theme_words_name >", value, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameGreaterThanOrEqualTo(String value) {
            addCriterion("theme_words_name >=", value, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameLessThan(String value) {
            addCriterion("theme_words_name <", value, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameLessThanOrEqualTo(String value) {
            addCriterion("theme_words_name <=", value, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameLike(String value) {
            addCriterion("theme_words_name like", value, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameNotLike(String value) {
            addCriterion("theme_words_name not like", value, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameIn(List<String> values) {
            addCriterion("theme_words_name in", values, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameNotIn(List<String> values) {
            addCriterion("theme_words_name not in", values, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameBetween(String value1, String value2) {
            addCriterion("theme_words_name between", value1, value2, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andThemeWordsNameNotBetween(String value1, String value2) {
            addCriterion("theme_words_name not between", value1, value2, "themeWordsName");
            return (Criteria) this;
        }

        public Criteria andExportTypeIsNull() {
            addCriterion("export_type is null");
            return (Criteria) this;
        }

        public Criteria andExportTypeIsNotNull() {
            addCriterion("export_type is not null");
            return (Criteria) this;
        }

        public Criteria andExportTypeEqualTo(String value) {
            addCriterion("export_type =", value, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeNotEqualTo(String value) {
            addCriterion("export_type <>", value, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeGreaterThan(String value) {
            addCriterion("export_type >", value, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeGreaterThanOrEqualTo(String value) {
            addCriterion("export_type >=", value, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeLessThan(String value) {
            addCriterion("export_type <", value, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeLessThanOrEqualTo(String value) {
            addCriterion("export_type <=", value, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeLike(String value) {
            addCriterion("export_type like", value, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeNotLike(String value) {
            addCriterion("export_type not like", value, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeIn(List<String> values) {
            addCriterion("export_type in", values, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeNotIn(List<String> values) {
            addCriterion("export_type not in", values, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeBetween(String value1, String value2) {
            addCriterion("export_type between", value1, value2, "exportType");
            return (Criteria) this;
        }

        public Criteria andExportTypeNotBetween(String value1, String value2) {
            addCriterion("export_type not between", value1, value2, "exportType");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}